package cn.edu.xmist.supermarket.cwz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 首页控制器
 */

@Controller
@RequestMapping({"/index", "/"})
public class ShouyeKZQ {
  /**
   * 首页
   * @return
   */
  @RequestMapping
  public String index() {
    return "index";
  }
  /**
   * 产品
   * @return
   */
  @RequestMapping("/product")
  public String ware() {
    return "product";
  }
  /**
   * 仓库
   * @return
   */
  @RequestMapping("/house")
  public String house() {
    return "house";
  }
  /**
   * 供应商
   * @return
   */
  @RequestMapping("/supplier")
  public String supplier() {
    return "supplier";
  }
  /**
   * 登录
   * @return
   */
  @RequestMapping("/login")
  public String login() {
    return "login";
  }
}
